package com.shiikong_memory.yez.Arknights.DataEnum;

import java.util.Random;

public enum PhantomCrimsonSolitaireDetachmentEnum{
    //指挥分队
    CommandDetachment("指挥分队"),
    //集群分队
    ClusterDetachment("集群分队"),
    //后勤分队
    LogisticsDetachment("后勤分队"),
    //矛头分队
    SpearheadDetachment("矛头分队"),
    //突击战术分队
    AssaultTacticalDetachment("突击战术分队"),
    //堡垒战术分队
    FortressTacticsDetachment("堡垒战术分队"),
    //远程战术分队
    LongRangeTacticsDetachment("远程战术分队"),
    //破坏战术分队
    SpoilingTacticsDetachment("破坏战术分队"),
    //研究分队
    StudyDetachment("研究分队"),
    //高规格分队
    HighStandardDetachment("高规格分队");

    private static Random random = new Random();
    private String ChineseName;
    PhantomCrimsonSolitaireDetachmentEnum(String name){
        this.ChineseName = name;
    }

    @Override
    public String toString() {
        return ChineseName;
    }

    public static PhantomCrimsonSolitaireDetachmentEnum Random(){
        return switch (random.nextInt(10)) {
            case 0 -> PhantomCrimsonSolitaireDetachmentEnum.CommandDetachment;
            case 1 -> PhantomCrimsonSolitaireDetachmentEnum.ClusterDetachment;
            case 2 -> PhantomCrimsonSolitaireDetachmentEnum.LogisticsDetachment;
            case 3 -> PhantomCrimsonSolitaireDetachmentEnum.SpearheadDetachment;
            case 4 -> PhantomCrimsonSolitaireDetachmentEnum.AssaultTacticalDetachment;
            case 5 -> PhantomCrimsonSolitaireDetachmentEnum.FortressTacticsDetachment;
            case 6 -> PhantomCrimsonSolitaireDetachmentEnum.LongRangeTacticsDetachment;
            case 7 -> PhantomCrimsonSolitaireDetachmentEnum.SpoilingTacticsDetachment;
            case 8 -> PhantomCrimsonSolitaireDetachmentEnum.StudyDetachment;
            case 9 -> PhantomCrimsonSolitaireDetachmentEnum.HighStandardDetachment;
            default -> null;
        };
    }
}
